import {RouteRecordRaw} from "vue-router";
import Layout from "@/components/layout.vue";

const routes: Array<RouteRecordRaw> = [
    {
        path: '/404.html',
        name: '404',
        component: () => import(/* webpackChunkName: "404" */ '@/views/404.vue')
    },
    {
        path: '/',
        redirect: '/snow.html',
    },
    {
        path: '/snow/login.html',
        name: '/snow/login',
        meta: {
            auth: false
        },
        component: () => import('@/views/login/index.vue'),
    },
    {
        path: '/snow.html',
        name: 'snow',
        meta: {
            auth: false
        },
        component: () => import('@/views/index/index.vue')
    },
    {
        path: '/snow/register.html',
        name: '/snow/register',
        meta: {
            auth: false
        },
        component: () => import("@/views/systemSettings/register.vue")
    }
]

export default routes